//导出对应得路由规则
export default{
    path:'/center',
    name:'center',
    component:()=>import(/*webpackChunkName:'center'*/'@/views/center/header.vue'),
    children:[
    //     //美团账号登录
        {
            path:'index1',
            name:'index1',
            component:()=>import(/*webpackChunkName:'index1'*/'@/views/center/index1'),
        },
    //     //手机验证登录
        { 
           path:'index2',
           name:'index2',
           component:()=>import(/*webpackChunkName:'index2'*/'@/views/center/index2'),
        },
        //  //重定向
         { path:'/',redirect:'index1'}
    ]
}